package com.hx.jeeadminbase.common.config;

import com.hx.jeeadminbase.utils.RedisUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: jeeadmin
 * @description: Spring bean配置
 * @author: xxm
 * @create: 2019-11-05 09:21
 **/
@Configuration
public class SpringBeanConfig {

    /**
     * Redis工具类
     * @return
     */
    @Bean
    public RedisUtil redisUtil(){
        return new RedisUtil();
    }
}
